package ReadWriteXML;

public class CNeighbor{
	private CMember _member;
	private boolean _isinvite;
	public CNeighbor(){
		this._member=null;
		this._isinvite=false;
	}
	
	public CNeighbor(CMember mem, boolean isinvite){
		this._member=mem;
		this._isinvite=isinvite;
	}

	public void set_member(CMember _member) {
		this._member = _member;
	}

	public CMember get_member() {
		return _member;
	}

	public void set_isinvite(boolean _isinvite) {
		this._isinvite = _isinvite;
	}

	public boolean get_isinvite() {
		return _isinvite;
	}
	@Override
	public String toString(){
		return this._member.get_fullName()+this._member.get_ip();
	}
}